package com.puyuan.domain;

public class Student {
    private int sid;
    private String name;
    private String gender;
    private String hobby;
    private String birthday;
    private String intro;
    private String photo;

    public Student() {
    }

    public Student(int sid, String name, String gender, String hobby, String birthday, String intro, String photo) {
        this.sid = sid;
        this.name = name;
        this.gender = gender;
        this.hobby = hobby;
        this.birthday = birthday;
        this.intro = intro;
        this.photo = photo;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", hobby='" + hobby + '\'' +
                ", birthday='" + birthday + '\'' +
                ", intro='" + intro + '\'' +
                ", photo='" + photo + '\'' +
                '}';
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }
}
